﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace LCQ.QueryBuilder
{
    [StructLayout(LayoutKind.Sequential)]
    public struct TopClause
    {
        public int Quantity;
        public TopUnit Unit;
        public TopClause(int nr)
        {
            this.Quantity = nr;
            this.Unit = TopUnit.Records;
        }

        public TopClause(int nr, TopUnit aUnit)
        {
            this.Quantity = nr;
            this.Unit = aUnit;
        }
    }
}
